package org.example.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class ApplyRecord {

    private Integer id;
    private Integer userId;
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date date;
    private Integer activityRecordIdOne;
    private Integer activityRecordIdTwo;
    private Integer activityRecordIdThree;
    private Integer activityRecordIdFour;
    private Integer activityRecordIdFive;
    private Integer activityRecordIdSix;
    private Integer status;//该条记录的状态

    //以下为java实体内特有的属性，数据库中不存在
    private String name;//申请人的姓名
    private ActivityRecord[] activityRecords;//申请时附加的六条活动记录

    //按照新的设计思想所增添的字段
    private User user;//这条申请记录的学生信息

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getActivityRecordIdOne() {
        return activityRecordIdOne;
    }

    public void setActivityRecordIdOne(Integer activityRecordIdOne) {
        this.activityRecordIdOne = activityRecordIdOne;
    }

    public Integer getActivityRecordIdTwo() {
        return activityRecordIdTwo;
    }

    public void setActivityRecordIdTwo(Integer activityRecordIdTwo) {
        this.activityRecordIdTwo = activityRecordIdTwo;
    }

    public Integer getActivityRecordIdThree() {
        return activityRecordIdThree;
    }

    public void setActivityRecordIdThree(Integer activityRecordIdThree) {
        this.activityRecordIdThree = activityRecordIdThree;
    }

    public Integer getActivityRecordIdFour() {
        return activityRecordIdFour;
    }

    public void setActivityRecordIdFour(Integer activityRecordIdFour) {
        this.activityRecordIdFour = activityRecordIdFour;
    }

    public Integer getActivityRecordIdFive() {
        return activityRecordIdFive;
    }

    public void setActivityRecordIdFive(Integer activityRecordIdFive) {
        this.activityRecordIdFive = activityRecordIdFive;
    }

    public Integer getActivityRecordIdSix() {
        return activityRecordIdSix;
    }

    public void setActivityRecordIdSix(Integer activityRecordIdSix) {
        this.activityRecordIdSix = activityRecordIdSix;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ActivityRecord[] getActivityRecords() {
        return activityRecords;
    }

    public void setActivityRecords(ActivityRecord[] activityRecords) {
        this.activityRecords = activityRecords;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
